package com.qdxwx.models.course;


import java.io.Serializable;
import java.time.LocalDateTime;

public class CourseNote implements Serializable{

    private static final long serialVersionUID = -3730481386127027890L;

    private Long id;//主键
    private Integer courseId;//课程id
    private String courseName;//对应课程名称
    private Integer nodeId;//节点ID
    private String nodeName;//对应章节名称
    private Long userId;//用户ID
    private String content;//笔记内容
    private LocalDateTime updateTime;//添加修改时间

    public CourseNote() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CourseNote{" +
                "id=" + id +
                ", nodeId=" + nodeId +
                ", courseId=" + courseId +
                ", userId=" + userId +
                ", content='" + content + '\'' +
                ", courseName='" + courseName + '\'' +
                ", nodeName='" + nodeName + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
